﻿using System.Collections.Generic;

namespace CppUT
{
    namespace Common
    {
        public class TestSuite : Test
        {
            public TestSuite(string testName) 
                : base(testName)
            {
                Children = new List<Test>();
            }

            public void AddTest(Test test)
            {
                Children.Add(test);
            }

            public List<Test> Children
            {
                get; 
                private set; 
            }

            public int Count
            {
                get
                {
                    return Children.Count;
                }
            }
        }
    }
}